package com.suse.common.config.redis;

import java.util.concurrent.TimeUnit;

/**
 * <p>
 * 抽象的Redis类
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-10-23 23:58
 */
public abstract class AbstractRedisClient {

    protected static final long START_TIME_STAMP = 1640995200;

    protected static final String DEFAULT_LOCK = "1";

    protected static final long DEFAULT_LOCK_TTL = 5;

    protected static final TimeUnit DEFAULT_LOCK_TTL_UNIT = TimeUnit.SECONDS;

    protected static final String DEFAULT_BLANK = "";

    protected static final long DEFAULT_BLANK_TTL = 5;

    protected static final TimeUnit DEFAULT_BLANK_TTL_UNIT = TimeUnit.SECONDS;

    protected static final long COUNT_BITS = 32;

}
